package com.xiangban.dao;

import com.xiangban.model.TUserBase;
import com.xiangban.model.dto.RegisterDto;
import com.xiangban.model.dto.UserDto;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserBaseMapper {

    List<TUserBase> selectUserBaseList();
    Integer register(RegisterDto registerDto);
    TUserBase checkUser(RegisterDto registerDto);
    TUserBase getUserBaseInfo(TUserBase userBase);
    UserDto getUserInfo(UserDto userDto);
    void updateUserBaseInfo(TUserBase userBase);
}
